package cn.xawl.gulimall.product.vo.itemvo;

import cn.xawl.gulimall.product.entity.SkuImagesEntity;
import cn.xawl.gulimall.product.entity.SkuInfoEntity;
import cn.xawl.gulimall.product.entity.SpuInfoDescEntity;
import lombok.Data;

import java.util.List;

/**
 * @author lh
 * @create 2020-10-29 18:08
 * 用于渲染到商品详情页的内容
 **/
@Data
public class SkuItemVo {

    //sku基本信息
    private SkuInfoEntity skuInfo;

    //sku的图片信息
    private List<SkuImagesEntity> skuImages;

    //spu销售属性组合
    public List<SkuItemsSaleAttrVo> saleAttrs;

    //spu的介绍信息
    private SpuInfoDescEntity spuInfoDesc;

    //spu规格参数信息(不同分组)
    public List<SpuItemAttrGroupVo> groupAttrs;


}
